export function getGraghByName(name, color) {
  if (name === 'neu-alarm') {
    return [
      {
        label: 'g',
        attrs: 'fill="' + color + '"',
        children: [
          {
            label: 'path',
            attrs: 'd="M15.998,4.283l12.983,23.528H3.017L15.998,4.283 M15.998,2.022c-0.758,0-1.456,0.413-1.822,1.075 ' +
              'L1.049,26.892c-0.163,0.294-0.245,0.616-0.255,0.939v0.156c0.015,0.335,0.105,0.669,0.283,0.969 ' +
              'c0.375,0.635,1.057,1.022,1.795,1.022h26.253c0.736,0,1.418-0.388,1.792-1.022c0.375-0.635,0.386-1.419,0.031-2.064L17.82,3.097 ' +
              'h0.001C17.455,2.435,16.756,2.022,15.998,2.022L15.998,2.022z"'
          },
          {
            label: 'g',
            children: [
              {
                label: 'circle',
                attrs: 'cx="15.996" cy="23.732" r="1.041"'
              },
              {
                label: 'path',
                attrs: 'd="M15.996,11.244c-0.532,0-1.038,0.225-1.396,0.62c-0.356,0.395-0.529,0.922-0.478,1.451l0.729,7.3 ' +
                  'c0.057,0.592,0.553,1.041,1.145,1.041c0.593,0,1.09-0.449,1.145-1.041l0.732-7.3c0.052-0.53-0.12-1.058-0.479-1.451 ' +
                  'C17.037,11.467,16.528,11.244,15.996,11.244z"'
              }
            ]
          }
        ]
      }
    ]
  } else if (name === 'neu-earlyWarning') {
    return [
      {
        label: 'g',
        attrs: 'fill="' + color + '"',
        children: [
          {
            label: 'path',
            attrs: 'd="M15.998,4.283l12.983,23.528H3.017L15.998,4.283 M15.998,2.022c-0.758,0-1.456,0.413-1.822,1.075 ' +
              'L1.049,26.892c-0.163,0.294-0.245,0.616-0.255,0.939v0.156c0.015,0.335,0.105,0.669,0.283,0.969 ' +
              'c0.375,0.635,1.057,1.022,1.795,1.022h26.253c0.736,0,1.418-0.388,1.792-1.022c0.375-0.635,0.386-1.419,0.031-2.064L17.82,3.097 ' +
              'h0.001C17.455,2.435,16.756,2.022,15.998,2.022L15.998,2.022z"'
          }
        ]
      }
    ]
  } else if (name === 'neu-normal') {
    return [
      {
        label: 'g',
        attrs: 'fill="' + color + '"',
        children: [
          {
            label: 'path',
            attrs: 'd="M15.997,2.958c7.191,0,13.042,5.85,13.042,13.042c0,7.194-5.852,13.042-13.042,13.042 ' +
              'c-7.101,0-12.951-5.775-13.037-12.853v-0.35C3.046,8.736,8.896,2.958,15.997,2.958 M15.997,0.791 ' +
              'C7.661,0.791,0.893,7.5,0.793,15.813v0.376c0.1,8.314,6.868,15.021,15.204,15.021c8.402,0,15.21-6.809,15.21-15.209 ' +
              'C31.208,7.601,24.399,0.791,15.997,0.791L15.997,0.791z"'
          },
          {
            label: 'path',
            attrs: 'd="M25.398,10.12c-0.247-0.241-0.573-0.374-0.934-0.374l0,0c-0.352,0.004-0.682,0.146-0.927,0.396 ' +
              'l-9.723,9.935l-4.271-4.337c-0.492-0.502-1.389-0.501-1.88,0c-0.512,0.523-0.512,1.373,0,1.896l5.226,5.309 ' +
              'c0.248,0.252,0.588,0.395,0.941,0.395c0.042,0,0.083-0.002,0.125-0.006c0.396-0.037,0.75-0.25,0.939-0.543l10.525-10.753 ' +
              'C25.93,11.515,25.93,10.664,25.398,10.12z"'
          }
        ]
      }
    ]
  } else if (name === 'neu-uninspected') {
    return [
      {
        label: 'g',
        attrs: 'fill="' + color + '"',
        children: [
          {
            label: 'path',
            attrs: 'd="M15.998,3.934l13.369,24.229H2.628L15.998,3.934 M15.998,1.605c-0.78,0-1.499,0.425-1.876,1.107 ' +
              'L0.601,27.216c-0.167,0.303-0.252,0.635-0.261,0.969v0.161c0.015,0.345,0.11,0.688,0.292,0.995 ' +
              'c0.386,0.654,1.088,1.054,1.848,1.054h27.037c0.758,0,1.46-0.399,1.846-1.054c0.386-0.652,0.397-1.461,0.031-2.125L17.875,2.713 ' +
              'h0.001C17.498,2.03,16.779,1.605,15.998,1.605L15.998,1.605z"'
          },
          {
            label: 'path',
            attrs: ' d="M17.238,22.549h-2.006c-0.006-0.345-0.008-0.555-0.008-0.63c0-0.776,0.106-1.415,0.322-1.916 ' +
              's0.646-1.064,1.291-1.69c0.646-0.626,1.032-1.036,1.158-1.229c0.193-0.307,0.291-0.645,0.291-1.015 ' +
              'c0-0.514-0.172-0.953-0.515-1.32c-0.346-0.366-0.807-0.549-1.391-0.549c-0.561,0-1.031,0.191-1.407,0.572 ' +
              'c-0.379,0.383-0.639,0.965-0.78,1.748l-2.03-0.302c0.058-1.12,0.457-2.072,1.199-2.854c0.743-0.783,1.718-1.174,2.925-1.174 ' +
              'c1.271,0,2.28,0.396,3.031,1.188c0.75,0.791,1.125,1.714,1.125,2.766c0,0.582-0.138,1.133-0.413,1.652 ' +
              'c-0.276,0.52-0.865,1.228-1.767,2.123c-0.468,0.463-0.757,0.835-0.87,1.117C17.28,21.317,17.229,21.822,17.238,22.549z ' +
              'M15.232,26.098v-2.639h2.211v2.639H15.232z"'
          }
        ]
      }
    ]
  }
}
